// 商品详情页面-头部商品轮播图
export const goodsSwiperImgs = {
  name: "商品详情页面-头部商品轮播图",
  type: "",
  comName: "goodsSwiperImgs",
  icon: "",
  controlComName: "goodsSwiperImgsControl",
  params: {
    margin: 0,
  },
};

// 商品详情页面-商品介绍
export const goodsIntroduce = {
  name: "商品详情页面-商品介绍",
  type: "",
  comName: "goodsIntroduce",
  icon: "",
  controlComName: "goodsIntroduceControl",
  params: {
    showMemberPrice: true,
    showOriginPrice: true,
  },
  moduleCss: {
    backgroundColor: "#ffffff",
    backgroundImage: "",
    bgImg: "",
    useBackground: true,
    bgOpacity: 100,
    opacity: "100",
    backgroundSize: "100% 100%",
    backgroundRepeat: "no-repeat",
    margin: 12,
    padding: 0,
    borderRadius: 0, // 圆角设置
  },
};

// 商品详情页面-商品优惠活动
export const goodsDiscount = {
  name: "商品详情页面-商品优惠活动",
  type: "",
  comName: "goodsDiscount",
  icon: "",
  controlComName: "goodsDiscountControl",
  params: {
    showGoodsDiscount: true,
  },
  moduleCss: {
    backgroundColor: "#ffffff",
    backgroundImage: "",
    bgImg: "",
    useBackground: true,
    bgOpacity: 100,
    opacity: "100",
    backgroundSize: "100% 100%",
    backgroundRepeat: "no-repeat",
    margin: 12,
    padding: 0,
    borderRadius: 0, // 圆角设置
  },
};

// 商品详情页面-商品sku属性选择
export const goodsAttribute = {
  name: "商品详情页面-商品sku属性选择",
  type: "",
  comName: "goodsAttribute",
  icon: "",
  controlComName: "goodsAttributeControl",
  params: {
    showAddress: true,
    showNearbyShop: true,
    showFreight: true,
  },
  moduleCss: {
    backgroundColor: "#ffffff",
    backgroundImage: "",
    bgImg: "",
    useBackground: true,
    bgOpacity: 100,
    opacity: "100",
    backgroundSize: "100% 100%",
    backgroundRepeat: "no-repeat",
    margin: 12,
    padding: 0,
    borderRadius: 0, // 圆角设置
  },
};

// 商品详情页面-商品评价
export const goodsEvaluate = {
  name: "商品详情页面-商品评价",
  type: "",
  comName: "goodsEvaluate",
  icon: "",
  controlComName: "goodsEvaluateControl",
  params: {
    showEvaluate: true,
  },
  moduleCss: {
    backgroundColor: "#ffffff",
    backgroundImage: "",
    bgImg: "",
    useBackground: true,
    bgOpacity: 100,
    opacity: "100",
    backgroundSize: "100% 100%",
    backgroundRepeat: "no-repeat",
    margin: 12,
    padding: 0,
    borderRadius: 0, // 圆角设置
  },
};

// 商品详情页面-商品商铺入口
export const goodsShopEntry = {
  name: "商品详情页面-商品评价",
  type: "",
  comName: "goodsShopEntry",
  icon: "",
  controlComName: "goodsShopEntryControl",
  params: {
    showGoodsShopEntry: true,
  },
  moduleCss: {
    backgroundColor: "#ffffff",
    backgroundImage: "",
    bgImg: "",
    useBackground: true,
    bgOpacity: 100,
    opacity: "100",
    backgroundSize: "100% 100%",
    backgroundRepeat: "no-repeat",
    margin: 12,
    padding: 0,
    borderRadius: 0, // 圆角设置
  },
};

// 商品详情页面-底部导航
export const goodsFootNav = {
  name: "商品详情页面-底部导航",
  type: "",
  comName: "goodsFootNav",
  icon: "",
  controlComName: "goodsFootNavControl",
  params: {
    styleType: "1",
    tabList: [
      {
        text: "店铺",
        icon:
          "https://chidian.cyyvip.com/web/uploads/images/store_1/2021-11-02/857370f6a7a788ff0674b4255dabc91974b402a0.png",
        link: {
          link: "/pages/home/home",
          name: "首页",
          open_type: "switchtab",
        },
        fontColor: "#262626",
      },
      {
        text: "客服",
        icon:
          "https://chidian.cyyvip.com/web/uploads/images/store_1/2021-11-02/aa7a96931ae57b070af3bd38f9553a40b7d9bd4f.png",
        link: {},
        fontColor: "#262626",
      },
      {
        text: "购物车",
        icon:
          "https://chidian.cyyvip.com/web/uploads/images/store_1/2021-11-02/5d156040e27daf1da32d3a4241355684f4708f7e.png",
        link: {
          link: "/pages/shoppingcart/shoppingcart",
          name: "购物车",
          open_type: "switchtab",
        },
        fontColor: "#262626",
      },
    ],
    buyBtn: {
      text: "立即购买",
      color: "#FFFFFF",
      bgColor: "#FBBA10",
    },
    cartBtn: {
      text: "加入购物车",
      color: "#FFFFFF",
      bgColor: "#F0250E",
    },
  },
  moduleCss: {
    backgroundColor: "#ffffff",
    backgroundImage: "",
    bgImg: "",
    useBackground: true,
    bgOpacity: 100,
    opacity: "100",
    backgroundSize: "100% 100%",
    backgroundRepeat: "no-repeat",
    borderRadius: 0, // 圆角设置
  },
};
